home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / csaedit.z / csaedit
Encoding:
Text File  |  2001-04-17  |  11.0 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ccccssssaaaaeeeeddddiiiitttt((((1111MMMM))))                                                        ccccssssaaaaeeeeddddiiiitttt((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      csaedit - displays and edits the accounting information
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_eeee_dddd_iiii_tttt [_----_PPPP _p_a_c_c_t_f_i_l_e] _----_bbbb _o_f_f_s_e_t_f_i_l_e _----_oooo _o_u_t_f_i_l_e [_----_vvvv]
  13.  
  14.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_eeee_dddd_iiii_tttt [_----_PPPP _p_a_c_c_t_f_i_l_e] [_----_oooo _o_u_t_f_i_l_e] _----_AAAA [_----_mmmm] [_----_tttt] [_----_vvvv]
  15.  
  16.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_eeee_dddd_iiii_tttt [_----_PPPP _p_a_c_c_t_f_i_l_e] _----_rrrr _r_e_c_l_i_s_t _----_oooo _o_u_t_f_i_l_e [_----_vvvv]
  17.  
  18.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_eeee_dddd_iiii_tttt [_----_PPPP _p_a_c_c_t_f_i_l_e] _----_rrrr _r_e_c_l_i_s_t [_----_oooo _o_u_t_f_i_l_e] _----_AAAA | _----_xxxx [_----_mmmm] [_----_tttt] [_----_vvvv]
  19.  
  20. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.      The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command edits the accounting file.  The accounting file
  22.      (_p_a_c_c_t_f_i_l_e) can be a _p_a_c_c_t or _s_o_r_t_e_d _p_a_c_c_t file.
  23.  
  24.      You must use the _cccc_ssss_aaaa_vvvv_eeee_rrrr_iiii_ffff_yyyy(1M) command to verify records in the
  25.      accounting file prior to using this command.  If the _cccc_ssss_aaaa_vvvv_eeee_rrrr_iiii_ffff_yyyy command
  26.      indicates that the accounting file contains invalid data, you must first
  27.      delete the invalid data. You can do this by passing the file that
  28.      contains information about invalid records produced by the _cccc_ssss_aaaa_vvvv_eeee_rrrr_iiii_ffff_yyyy
  29.      command to the _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command.  The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command uses the byte offset
  30.      and length information from this file to delete the invalid data.  To
  31.      ensure that all of the bad records were removed, use the _cccc_ssss_aaaa_vvvv_eeee_rrrr_iiii_ffff_yyyy
  32.      command to reverify the accounting file after deleting any records.
  33.  
  34.      After deleting bad records, you can use the _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command to view the
  35.      remaining records and delete any of these remaining records.  Use the
  36.      record numbers display by the _----_AAAA option to delete records.
  37.  
  38.      The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command outputs the data to stdout or to a file.  The output
  39.      data can be in binary or ASCII form.  Binary data can only be written out
  40.      to a file.  Only accounting records can be output.  No data can be output
  41.      until bad data has been removed.
  42.  
  43.      Displaying the data in ASCII form allows you to view the valid records
  44.      and decide which ones to delete.
  45.  
  46.      The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command accepts three types of options:  input, output, and
  47.      record selection options.
  48.  
  49.    IIIInnnnppppuuuutttt OOOOppppttttiiiioooonnnnssss
  50.      The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command accepts the following input option:
  51.  
  52.      _----_PPPP _p_a_c_c_t_f_i_l_e
  53.                  Specifies a _p_a_c_c_t file or _s_o_r_t_e_d _p_a_c_c_t file.  The default
  54.                  filename is /_v_a_r/_a_d_m/_a_c_c_t/_w_o_r_k/_W_p_a_c_c_t.
  55.  
  56.    OOOOuuuuttttppppuuuutttt OOOOppppttttiiiioooonnnnssss
  57.      The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command accepts the following output options:
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ccccssssaaaaeeeeddddiiiitttt((((1111MMMM))))                                                        ccccssssaaaaeeeeddddiiiitttt((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      _----_AAAA          Specifies ASCII output for all data.  The default is to
  75.                  output binary data.  You cannot use this option with the _----_xxxx
  76.                  option.
  77.  
  78.      _----_mmmm          Outputs memory values.  This option may only be used with the
  79.                  _----_AAAA option or the _----_xxxx option.
  80.  
  81.      _----_oooo _o_u_t_f_i_l_e  Specifies the output file.  The default for ASCII output is
  82.                  _ssss_tttt_dddd_oooo_uuuu_tttt.  This option is required with the _----_bbbb and _----_rrrr options.
  83.                  Records cannot be written back to the input _p_a_c_c_t file as in
  84.                  the following example: _cccc_ssss_aaaa_eeee_dddd_iiii_tttt _----_PPPP _pppp_aaaa_cccc_cccc_tttt_0000 _----_rrrr _1111_8888 _----_oooo _pppp_aaaa_cccc_cccc_tttt_0000.
  85.                  You cannot edit the file; you have to create a new file.
  86.  
  87.      _----_tttt          Outputs CPU times.  Also displays queue wait time for
  88.                  consolidated NQS and workload management records.  This
  89.                  option may only be used with the _----_AAAA option or the _----_xxxx option.
  90.  
  91.      _----_vvvv          Specifies verbose mode.  Output is written to _ssss_tttt_dddd_eeee_rrrr_rrrr.
  92.  
  93.      _----_xxxx          Specifies no execute mode. Only the records to be deleted are
  94.                  displayed.  The selected records are not actually deleted.
  95.                  The records are displayed in ASCII form. This option must be
  96.                  used with the _----_rrrr option.  This option cannot be used with the
  97.                  _----_AAAA option.
  98.  
  99.    RRRReeeeccccoooorrrrdddd SSSSeeeelllleeeeccccttttiiiioooonnnn OOOOppppttttiiiioooonnnnssss
  100.      The _cccc_ssss_aaaa_eeee_dddd_iiii_tttt command accepts the following record selection options:
  101.  
  102.      _----_bbbb _o_f_f_s_e_t_f_i_l_e
  103.                  Specifies the file that contains the information about
  104.                  invalid records that are to be deleted.  The  _o_f_f_s_e_t_f_i_l_e is
  105.                  produced by the _cccc_ssss_aaaa_vvvv_eeee_rrrr_iiii_ffff_yyyy command. You must use this option
  106.                  with the _----_oooo option since the data will be written out in
  107.                  binary form only.  You can only use this option with the _----_PPPP
  108.                  and _----_vvvv options.
  109.  
  110.      _----_rrrr _r_e_c_l_i_s_t  Specifies the record numbers of the records to be deleted.
  111.                  _r_e_c_l_i_s_t is a comma-separated list.
  112.  
  113. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  114.      Example 1:  The following example deletes invalid records from the
  115.      _W_p_a_c_c_t_1 file.  The file _iiii_nnnn_vvvv_aaaa_llll_iiii_dddd contains information about invalid
  116.      records.  The output is written to file _W_p_a_c_c_t_1._N_E_W.
  117.  
  118.           _cccc_ssss_aaaa_eeee_dddd_iiii_tttt _----_PPPP _WWWW_pppp_aaaa_cccc_cccc_tttt_1111 _----_bbbb _iiii_nnnn_vvvv_aaaa_llll_iiii_dddd _----_oooo _WWWW_pppp_aaaa_cccc_cccc_tttt_1111_...._NNNN_EEEE_WWWW
  119.  
  120.      Example 2:  The following example outputs the _W_p_a_c_c_t_1 file in ASCII.  CPU
  121.      times and memory values are reported.
  122.  
  123.           _cccc_ssss_aaaa_eeee_dddd_iiii_tttt _----_PPPP _WWWW_pppp_aaaa_cccc_cccc_tttt_1111 _----_AAAA_mmmm_tttt
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ccccssssaaaaeeeeddddiiiitttt((((1111MMMM))))                                                        ccccssssaaaaeeeeddddiiiitttt((((1111MMMM))))
  137.  
  138.  
  139.  
  140.      Example 3:  The following example displays records that are deleted in
  141.      Example 4.
  142.  
  143.           _cccc_ssss_aaaa_eeee_dddd_iiii_tttt _----_PPPP _WWWW_pppp_aaaa_cccc_cccc_tttt_1111 _----_xxxx_rrrr _2222_,,,, _1111_0000_,,,, _1111_5555
  144.  
  145.      Example 4:  The following example deletes records 2, 10, and 15 from the
  146.      _W_p_a_c_c_t_1 file.  The output is written to file _W_p_a_c_c_t_1._N_E_W, and verbose
  147.      output is written to file err.
  148.  
  149.           _cccc_ssss_aaaa_eeee_dddd_iiii_tttt _----_PPPP _WWWW_pppp_aaaa_cccc_cccc_tttt_1111 _----_rrrr _2222_,,,,_1111_0000_,,,,_1111_5555 _----_oooo _WWWW_pppp_aaaa_cccc_cccc_tttt_1111_...._NNNN_EEEE_WWWW _----_vvvv _2222_>>>> _eeee_rrrr_rrrr
  150.  
  151. FFFFIIIILLLLEEEESSSS
  152.      _////_uuuu_ssss_rrrr_////_iiii_nnnn_cccc_llll_uuuu_dddd_eeee_////_ssss_yyyy_ssss_////_aaaa_cccc_cccc_tttt_...._hhhh               Accounting records hearder file
  153.  
  154.      _////_uuuu_ssss_rrrr_////_iiii_nnnn_cccc_llll_uuuu_dddd_eeee_////_cccc_ssss_aaaa_aaaa_cccc_cccc_tttt_...._hhhh                Daemon accounting header file
  155.  
  156. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  157.      csaverify(1M).
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.